package com.home.Entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="KHUYENMAI")
public class KhuyenMai {
	
	@Id
	@Column(name="KHM_MASO")
	private long maSo;
	@Column(name="KHM_TEN")
	private String ten;
	@Column(name="KHM_TUNGAY")
	private Date tuNgay;
	@Column(name="KHM_DENNGAY")
	private Date denNgay;
	@Column(name="KHM_TIENGIAM")
	private int tienGiam;
	public long getMaSo() {
		return maSo;
	}
	public void setMaSo(long maSo) {
		this.maSo = maSo;
	}
	public String getTen() {
		return ten;
	}
	public void setTen(String ten) {
		this.ten = ten;
	}
	public Date getTuNgay() {
		return tuNgay;
	}
	public void setTuNgay(Date tuNgay) {
		this.tuNgay = tuNgay;
	}
	public Date getDenNgay() {
		return denNgay;
	}
	public void setDenNgay(Date denNgay) {
		this.denNgay = denNgay;
	}
	public int getTienGiam() {
		return tienGiam;
	}
	public void setTienGiam(int tienGiam) {
		this.tienGiam = tienGiam;
	}
	
	
}
